var XMLParser = require('./XMLParser.js');
var fs = require('fs');
var StringUtil = require('./StringUtil.js');

var xml = fs.readFileSync('test.xml');
xml = StringUtil.replaceXMLBlank(xml.toString());
console.log(xml);
console.log();
var nodeValue = XMLParser.getValueByTag('owner',xml);
console.log(nodeValue);
console.log();

var xml = XMLParser.replaceValueByTag('lastname','BBBBB',xml);
console.log(xml);
